﻿<%@ Page Title="Share" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="ThreeDPrinting.Pages.Share.Default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
        <div class="centerColumn" style="height:757px">
        <div class="box-head">SHARE</div>
        <div class="pageContent">
    <table>
        <asp:Label ID="lblUpload" runat="server" Text="Upload and Share Free Designs"></asp:Label>
        <tr>
            <td>Item Name:</td>
            <td>
                <asp:TextBox ID="txtItemName" runat="server"></asp:TextBox></td>
            <td>
                  <asp:RequiredFieldValidator ID="valItemNameRequired" runat="server"
                                ControlToValidate="txtItemName"
                                ErrorMessage="*You must enter a Item Name" Display="Dynamic" ForeColor="Red"></asp:RequiredFieldValidator></td>
        </tr>
        <tr>
            <td>Item Description:</td>
                        <td>
                <asp:TextBox ID="txtItemDescription" runat="server"></asp:TextBox></td>
                        <td>
                  <asp:RequiredFieldValidator ID="valItemDescriptionRequired" runat="server"
                                ControlToValidate="txtItemDescription"
                                ErrorMessage="*You must enter a Item Description" Display="Dynamic" ForeColor="Red"></asp:RequiredFieldValidator></td>
        </tr>
        <tr>
            <td>Upload File:</td>
            <td>
                <asp:FileUpload ID="FileUploadControl" runat="server" /></td>
        </tr>
        <tr>
            <td>
                <asp:Button ID="btnUpload" runat="server" Text="Upload" OnClick="btnUpload_Click" /></td>
        </tr>

        <tr>
            <td>
                <asp:Label runat="server" ID="StatusLabel" Text="Upload status: " /></td>
        </tr>
    </table>
            </div>
            </div>
</asp:Content>
